/*
 * @Author: qiuziz
 * @Date: 2017-08-15 10:12:02
 * */

import { fetchResource } from './fetchapi';

const API_HOST = '';
const SERVICE_NAME = '';

export const Resource = {

	login: fetchResource(`${API_HOST}${SERVICE_NAME}/oa/login`),
	getdata: fetchResource(`${API_HOST}${SERVICE_NAME}/oa/getdata`),
		/**
		 * 接口 user
		 */
		getUsers: fetchResource(`${API_HOST}${SERVICE_NAME}/getUsers`),
		updateUser: fetchResource(`${API_HOST}${SERVICE_NAME}/updateUser`),
		getOneUser: fetchResource(`${API_HOST}${SERVICE_NAME}/getOneUser`),
	/**
	 * 接口 worklog
	 * 获取项目列表
	 * 
	 */


	getRecordList: fetchResource(`${API_HOST}${SERVICE_NAME}/getRecordList`)
};
